.tabs-component {
    margin: 2em 0;
}

.tabs-component-tabs {
    border: solid 1px #ddd;
    border-radius: 6px;
    margin-bottom: 5px;
}

@media (min-width: 700px) {
    .tabs-component-tabs {
        border: 0;
        align-items: stretch;
        display: flex;
        justify-content: flex-start;
        margin-bottom: -1px;
    }
}

.tabs-component-tab {
    color: #999;
    font-size: 14px;
    font-weight: 600;
    margin-right: 0;
    list-style: none;
}

.tabs-component-tab:hover {
    color: #666;
}

.tabs-component-tab.is-active {
    color: var(--vp-c-text-1);
}

.tabs-component-tab.is-disabled * {
    color: #cdcdcd;
    cursor: not-allowed !important;
}

@media (min-width: 700px) {
    .tabs-component-tab {
        background-color: var(--vp-c-bg);
        border: solid 1px #ddd;
        border-radius: 3px 3px 0 0;
        margin-right: 0.5em;
        transform: translateY(2px);
        transition: transform 0.3s ease;
    }

    .tabs-component-tab.is-active {
        border-bottom: solid 1px #fff;
        z-index: 2;
        transform: translateY(0);
    }
}

.tabs-component-tab-a {
    align-items: center;
    color: inherit;
    display: flex;
    padding: 0.5em 1.25em;
    text-decoration: none;
}

.tabs-component-panels {
    padding: 1em 0;
}

@media (min-width: 700px) {
    .tabs-component-panels {
        background-color: var(--vp-c-bg);
        border: solid 1px #ddd;
        border-radius: 6px;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
        padding: 1em 1em;
        position: relative;
    }
}
